home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / program / gmp202.zip / mpq / Makefile < prev    next >
Makefile  |  1997-04-19  |  3KB  |  96 lines

  1. # This file was generated automatically by configure.  Do not edit.
  2. VPATH = .
  3. links = 
  4. host_alias = i386-EMX-OS/2
  5. host_cpu = i386
  6. host_vendor = EMX
  7. host_os = OS/2
  8. host_canonical = i386-EMX-OS/2
  9. target_alias = i386-EMX-OS/2
  10. target_cpu = i386
  11. target_vendor = EMX
  12. target_os = OS/2
  13. target_canonical = i386-EMX-OS/2
  14. build_alias = i386-EMX-OS/2
  15. build_cpu = i386
  16. build_vendor = EMX
  17. build_os = OS/2
  18. build_canonical = i386-EMX-OS/2
  19. # Makefile for GNU MP/mpq functions
  20. # Copyright (C) 1991, 1993, 1994, 1996 Free Software Foundation, Inc.
  21.  
  22. # This file is part of the GNU MP Library.
  23.  
  24. # The GNU MP Library is free software; you can redistribute it and/or modify
  25. # it under the terms of the GNU Library General Public License as published by
  26. # the Free Software Foundation; either version 2 of the License, or (at your
  27. # option) any later version.
  28.  
  29. # The GNU MP Library is distributed in the hope that it will be useful, but
  30. # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  31. # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
  32. # License for more details.
  33.  
  34. # You should have received a copy of the GNU Library General Public License
  35. # along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
  36. # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  37. # MA 02111-1307, USA.
  38.  
  39. srcdir = .
  40.  
  41. CC = cc
  42.  
  43. CFLAGS = -g -O
  44. AR = ar
  45. AR_FLAGS = rc
  46. SHELL = /bin/sh
  47.  
  48. #### host and target specific makefile fragments come in here.
  49. ###
  50.  
  51. MPQ_SRCS = add.c canonicalize.c clear.c cmp.c cmp_ui.c div.c get_d.c \
  52.  get_den.c get_num.c init.c inv.c mul.c neg.c set.c set_den.c set_num.c \
  53.  set_si.c set_ui.c sub.c equal.c set_z.c
  54. MPQ_OBJS = add.o canonicalize.o clear.o cmp.o cmp_ui.o div.o get_d.o \
  55.  get_den.o get_num.o init.o inv.o mul.o neg.o set.o set_den.o set_num.o \
  56.  set_si.o set_ui.o sub.o equal.o set_z.o
  57.  
  58. INCLUDES = -I. -I.. -I../mpn -I$(srcdir)/..
  59.  
  60. libmpq.a: Makefile $(MPQ_OBJS)
  61.     rm -f $@
  62.     $(AR) $(AR_FLAGS) $@ $(MPQ_OBJS)
  63.  
  64. .c.o:
  65.     $(CC) -c $(INCLUDES) $(CFLAGS) $(XCFLAGS) $<
  66.  
  67. clean mostlyclean:
  68.     rm -f *.o libmpq.a
  69.     -cd tests; $(MAKE) $@
  70. distclean maintainer-clean: clean
  71.     -cd tests; $(MAKE) $@
  72.  
  73. H = $(srcdir)/../gmp.h $(srcdir)/../gmp-impl.h ../mpn/gmp-mparam.h
  74.  
  75. add.o: $(srcdir)/add.c $(H)
  76. canonicalize.o: $(srcdir)/canonicalize.c $(H)
  77. clear.o: $(srcdir)/clear.c $(H)
  78. cmp.o: $(srcdir)/cmp.c $(H) $(srcdir)/../longlong.h
  79. cmp_ui.o: $(srcdir)/cmp_ui.c $(H)
  80. div.o: $(srcdir)/div.c $(H)
  81. equal.o: $(srcdir)/equal.c $(H)
  82. get_d.o: $(srcdir)/get_d.c $(H) $(srcdir)/../longlong.h
  83. get_den.o: $(srcdir)/get_den.c $(H)
  84. get_num.o: $(srcdir)/get_num.c $(H)
  85. init.o: $(srcdir)/init.c $(H)
  86. inv.o: $(srcdir)/inv.c $(H)
  87. mul.o: $(srcdir)/mul.c $(H)
  88. neg.o: $(srcdir)/neg.c $(H)
  89. set.o: $(srcdir)/set.c $(H)
  90. set_den.o: $(srcdir)/set_den.c $(H)
  91. set_num.o: $(srcdir)/set_num.c $(H)
  92. set_si.o: $(srcdir)/set_si.c $(H)
  93. set_ui.o: $(srcdir)/set_ui.c $(H)
  94. set_z.o: $(srcdir)/set_z.c $(H)
  95. sub.o: $(srcdir)/sub.c $(H)
  96.